From 27bd8fac374e254a3efb89870088e111fd76c4e5 Mon Sep 17 00:00:00 2001 From: robertlipe Date: Wed, 8 Jul 2015 18:11:57 +0000 Subject: [PATCH] Kludge ioapi.c for Cygwin. --- gpsbabel/zlib/contrib/minizip/ioapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/zlib/contrib/minizip/ioapi.c b/gpsbabel/zlib/contrib/minizip/ioapi.c index 7f5c191b2..efb357918 100644 --- a/gpsbabel/zlib/contrib/minizip/ioapi.c +++ b/gpsbabel/zlib/contrib/minizip/ioapi.c @@ -14,7 +14,7 @@ #define _CRT_SECURE_NO_WARNINGS #endif -#if defined(__APPLE__) || defined(IOAPI_NO_64) +#if defined(__APPLE__) || defined(IOAPI_NO_64) || defined(__CYGWIN__) // In darwin and perhaps other BSD variants off_t is a 64 bit value, hence no need for specific 64 bit functions #define FOPEN_FUNC(filename, mode) fopen(filename, mode) #define FTELLO_FUNC(stream) ftello(stream) -- 2.30.2